package org.template.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.template.dao.RedisFactory;

@Service
public class HelloImpl implements Hello {

	@Autowired
	private RedisFactory redisFactory;
	@Override
	public String getLesson() {
		return redisFactory.getStringRedisDao().getString("lesson");
	}

}
